package com.kaifamiao.demo.d0729.pm;


public class Sub extends Sup {

    String a = "a";
    String b = "b";

    @Override
    public BoyStudent get(Person person) {
        System.out.println("Sub get(Person person)");
        return null;
    }

    @Override
    public void instanceMethod() {
        System.out.println("Sub:: instanceMethod");
    }

    // 隐藏了父类中的方法
    public static void staticMethod(){
        System.out.println("Sub:staticMethod");
    }
}
